package com.baomidou.springwind.service;

import com.baomidou.mybatisplus.service.IService;
import com.baomidou.springwind.entity.Goods;
import com.baomidou.springwind.utils.ParamMap;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * Goods 表数据服务层接口
 */
public interface GoodsService extends IService<Goods> {

    /**
     * 获取 存货总体积
     *
     * @param
     * @return
     */
    BigDecimal selectStockVolume( ParamMap<String, Object> pm);

    List<Map<String, Object>> selectGoodsInitialStock(Long batchId);

    List<Map<String, Object>> selectGoodsTimeStock(Long batchId);
    List<Map<String, Object>> selectGoodsDayAmount(Long batchId);
    List<Map<String, Object>> selectGoodsMoney(Long batchId);
}